package cn.sc.summer.mybatis.constant;

/**
 * 接口：建表常量池
 *
 * @author a-xin
 * @date 2024/8/27 16:32
 */
public class TableConstant {

    /**
     * 表更新配置文件前缀
     */
    public static final String CONFIG_PREFIX = "mybatis-plus.table";

    /**
     * 加载所有数据源信息
     */
    public static final String LOAD_ALL_DATASOURCE_BEAN = "LOAD_ALL_DATASOURCE_BEAN";

    /**
     * 加载所有数据源解析sql
     */
    public static final String LOAD_ALL_DATASOURCE_SQL_BEAN = "LOAD_ALL_DATASOURCE_SQL_BEAN";

    /**
     * 校验配置项表结构更新策略bean
     */
    public static final String STAGE_TYPE_BEAN = "STAGE_TYPE_BEAN";

    /**
     * 初始化数据源类型和数据源表结构获取方法bean
     */
    public static final String TABLE_CONFIG_BEAN = "TABLE_CONFIG_BEAN";

    /**
     * 数据库表字符集及其余配置信息bean
     */
    public static final String TABLE_CHARSET_BEAN = "TABLE_CHARSET_BEAN";

    /**
     * 加载数据源表信息bean
     */
    public static final String LOAD_DATASOURCE_TABLE_INFO_BEAN = "LOAD_DATASOURCE_TABLE_INFO_BEAN";

    /**
     * 加载java数据源信息bean
     */
    public static final String LOAD_JAVA_TABLE_INFO_BEAN = "LOAD_JAVA_TABLE_INFO_BEAN";

    /**
     * 加载数据源字段类型映射关系信息bean
     */
    public static final String LOAD_COLUMN_TYPE_BEAN = "LOAD_COLUMN_TYPE_BEAN";

    /**
     * 执行数据库信息更新操作bean
     */
    public static final String EXECUTE_UPDATE_BEAN = "EXECUTE_UPDATE_BEAN";

}
